﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="BillingEntity.aspx.cs" Inherits="WMS6.Web.Configuration.BillingEntity" meta:resourcekey="Page" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>BillingEntity</title>
 <link href="../style/zh/1/css.css" type="text/css" rel="Stylesheet" id="mycss" />
    <link href="../Css/style.css" type="text/css" rel="stylesheet" />
    <script src="../Js/jquery.js" type="text/javascript"></script>
    <script src="../Js/jquery.simplemodal.js" type="text/javascript"></script>
    <script src="../Js/jquery.blockUI.js" type="text/javascript"></script>
    <script src="../Js/util.js" id="js" type="text/javascript"></script>
    <script src="../Js/InitPage.js" type="text/javascript"></script>    
    <script src="../Js/Verification.js" type="text/javascript"></script>
    
    <script type="text/javascript">
        //初始化页面
        window.onload = function(){
            initEditNewPage();
        }
        
        function newBillingEntity()
        {
            var from = document.getElementById("hdnFrom").value;
            window.location.href = "BillingEntity.aspx?from="+escape(from);
            return false;
        }
        
        function confirmMsg(code)
        {
            if(code == "C001")
            {
                if(confirm('<%=GetGlobalMsgResource("C001") %>'))
                {
                    return true;
                }
                else
                {
                    return false;
                }
            }
        }
        
        function UnauthorizedUser(listSrc)
        {
           var option = document.createElement('option');
            var nIndex = listSrc.selectedIndex;
              if(nIndex>=0)
             {
                var values = listSrc.options[nIndex].value;   
                document.getElementById("<%=hdnAuthorizedUser.ClientID %>").value = values;  
                            __doPostBack('<%=imgUnauthorizedUser.ClientID.Replace('_','$')%>',''); 
              }
        }
        function AuthorizedUser(listSrc)
        {
           var option = document.createElement('option');
            var nIndex = listSrc.selectedIndex;
              if(nIndex>=0)
             {           
                var values = listSrc.options[nIndex].value;   
                document.getElementById("<%=hdnUnauthorizedUser.ClientID %>").value = values;  
                    __doPostBack('<%=imgAuthorizedUser.ClientID.Replace('_','$')%>',''); 
              }
        }
        //锁屏
		function blockScreen()
		{
		    //锁屏
		    $.blockUI.defaults.message = GetBlockUIMsg();
            $.blockUI.defaults.overlayCSS.backgroundColor = GetBlockUIBgColor();
            $.blockUI();
		}     
    </script>
</head>
<body>
    <form id="F2051" runat="server">
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server" />
        
        <div id="div_top">
            <table>
                <tr>
                    <td valign="bottom"><asp:Label ID="lblOwner" runat="server" CssClass="label_header" 
                            Text="计费实体" meta:resourcekey="lblOwner"></asp:Label></td>
                    <td><asp:Button ID="btnGoBack" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnGoBack%>" Enabled="False" 
                            onclick="btnGoBack_Click"     /></td>
                    <td><asp:Button ID="btnNew" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnNew%>" 
                            Enabled="False"  AccessKey="n" OnClientClick="newBillingEntity();" 
                            /></td>
                    <td><asp:Button ID="btnSave" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnSave%>" Enabled="False" 
                            AccessKey="s" onclick="btnSave_Click" 
                             /></td>
                    <td><asp:Button ID="btnDelete" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnDelete%>" Enabled="False"  
                            AccessKey="d"  
                            OnClientClick="javascript:if(confirmMsg('C001')) return true; else return false;" 
                            onclick="btnDelete_Click"   /></td>
                    <td><asp:Button ID="btnCopy" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnCopy%>" Enabled="False" 
                            AccessKey="c" onclick="btnCopy_Click" 
                              /></td>
                </tr>
            </table>
        </div>
        
        <asp:UpdatePanel ID="up1" runat="server">
            <ContentTemplate>
                     <div>
            <asp:Label ID="lblMsg" runat="server" CssClass="label_message" 
                             meta:resourcekey="lblMsg"></asp:Label>
        </div>
        <div id="div_menu">
            <div style="float: left; width: 8px;">
                <div class="tabL" id="divL1"></div>
            </div>
            <div style="float:left;" class="tabLabelCont tabCur" onclick="setTab('one',1,<%=TabNum %>)" id="divM1">
                <asp:Label ID="one1" CssClass="hover" runat="server" 
                    meta:resourcekey="one1">基本信息</asp:Label></div>
            <div style="float: left; margin-right: 2px;">
                <div class="tabR" id="divR1"></div>
            </div>
            
            <div style="float: left; width: 8px;">
                <div class="tabL_1" id="divL2"></div>
            </div>
            <div style="float:left;" class="tabLabelCont tabCur_1" onclick="setTab('one',2,<%=TabNum %>)" id="divM2">
                <asp:Label ID="one2" CssClass="navigationlabel" runat="server" 
                    meta:resourcekey="one2">地址</asp:Label></div>
            <div style="float: left; margin-right: 2px;">
                <div class="tabR_1" id="divR2"></div>
            </div>
            
            <div style="float: left; width: 8px;">
                <div class="tabL_1" id="divL3"></div>
            </div>
            <div style="float:left;" class="tabLabelCont tabCur_1" onclick="setTab('one',3,<%=TabNum %>)" id="divM3">
                <asp:Label ID="one3" CssClass="navigationlabel" runat="server" 
                    meta:resourcekey="one3">帐单地址</asp:Label></div>
            <div style="float: left; margin-right: 2px;">
                <div class="tabR_1" id="divR3"></div>
            </div>
            
            <div style="float: left; width: 8px;">
                <div class="tabL_1" id="divL4"></div>
            </div>
            <div style="float:left;" class="tabLabelCont tabCur_1" onclick="setTab('one',4,<%=TabNum %>)" id="divM4">
                <asp:Label ID="one4" CssClass="navigationlabel" runat="server" 
                    meta:resourcekey="one4">自定义字段</asp:Label></div>
            <div style="float: left; margin-right: 2px;">
                <div class="tabR_1" id="divR4"></div>
            </div>
            
            <div style="float: left; width: 8px;">
                        <div class="tabL_1" id="divL5"  runat = "server">
                        </div>
                    </div>
            <div style="float: left;" class="tabLabelCont tabCur_1" onclick="setTab('one',5,<%=TabNum %>)"
                id="divM5">
                <asp:Label ID="one5" CssClass="navigationlabel" runat="server" meta:resourcekey="one5">授权用户</asp:Label></div>
            <div style="float: left; margin-right: 2px;">
                <div class="tabR_1" id="divR5"  runat = "server">
                </div>
            </div>
        </div>
        <div id="div_content">
             <div id="con_one_1" style="display: block;">
                 <table width="720px" style="display: block; margin-left: 10px; margin-top: 10px;">
                     <tr>
                         <td width="180">
                             <asp:Label ID="lbBillingEntityID" runat="server" CssClass="label" Text="计费实体代码" 
                                 meta:resourcekey="lbBillingEntityID"></asp:Label><span class="must_input">*</span>
                         </td>
                         <td width="180">
                             &nbsp;</td>
                         <td width="180">
                             &nbsp;</td>
                         <td width="180">
                             &nbsp;</td>
                     </tr>
                     <tr>
                         <td>
                             <asp:TextBox ID="txtBillingEntityID" runat="server" CssClass="textbox" 
                                 MaxLength="20" meta:resourcekey="txtBillingEntityID"></asp:TextBox>
                         </td>
                         <td>
                             &nbsp;</td>
                         <td>
                             &nbsp;</td>
                          <td>
                              &nbsp;</td>
                     </tr>
                     <tr>
                         <td width="180">
                             <asp:Label ID="lblBillingEntityName" runat="server" CssClass="label" 
                                 Text="计费实体名称" meta:resourcekey="lblBillingEntityName"></asp:Label><span class="must_input">*</span>
                         </td>
                         <td width="180">
                             &nbsp;</td>
                         <td width="180">
                             &nbsp;</td>
                         <td width="180">
                             &nbsp;</td>
                     </tr>
                     <tr>
                         <td colspan="2">
                             <asp:TextBox ID="txtBillingEntityName" runat="server" CssClass="largetextbox" 
                                 MaxLength="25" meta:resourcekey="txtBillingEntityName"></asp:TextBox>
                         </td>
                         
                         <td>
                             &nbsp;</td>
                          <td>
                              &nbsp;</td>
                     </tr>
                     <tr>
                         <td width="180">
                             <asp:Label ID="lblDescr" runat="server" CssClass="label" Text="描述" 
                                 meta:resourcekey="lblDescr"></asp:Label>
                         </td>
                         <td width="180">
                             &nbsp;</td>
                         <td width="180">
                             &nbsp;</td>
                         <td width="180">
                             &nbsp;</td>
                     </tr>
                     <tr>
                         <td colspan="2">
                             <asp:TextBox ID="txtVendorDescr" runat="server" CssClass="largetextbox" 
                                 MaxLength="50" meta:resourcekey="txtVendorDescr"></asp:TextBox>
                         </td>
                         
                         <td>
                             &nbsp;</td>
                          <td>
                              &nbsp;</td>
                     </tr>
                     <tr style="height:10px;">
                         <td width="180">
                             <asp:Label ID="lblVAT" runat="server" CssClass="label" Text="增值税号" 
                                 meta:resourcekey="lblVAT"></asp:Label>
                         </td>
                         <td width="180"></td>
                         <td width="180"></td>
                         <td width="180"></td>
                     </tr>
                     <tr>
                         <td>
                             <asp:TextBox ID="txtVAT" runat="server" CssClass="textbox" MaxLength="20" 
                                 meta:resourcekey="txtVAT"></asp:TextBox>
                         </td>
                         <td></td>
                         <td></td>
                         <td></td>
                     </tr>
                     <tr style="height:10px;">
                         <td width="180"></td>
                         <td width="180"></td>
                         <td width="180"></td>
                         <td width="180"></td>
                     </tr>
                     <tr>
                         <td>
                            <asp:CheckBox ID="chkIsActive" runat="server" CssClass="checkbox" Text="启用" 
                                 Checked="True" meta:resourcekey="chkIsActive" />
                         </td>
                         <td></td>
                         <td></td>
                         <td></td>
                     </tr>
                     <tr>
                         <td>
                            &nbsp;
                         </td>
                         <td></td>
                         <td></td>
                         <td></td>
                     </tr>
                 </table>
             </div>
             
             <div id="con_one_2" style="display:none;">
                 <table width="720px" style="display: block; margin-left: 10px; margin-top: 10px;">
                     <tr>
                         <td width="180">
                             <asp:Label ID="lblCity" runat="server" CssClass="label" Text="城市" 
                                 meta:resourcekey="lblCity"></asp:Label>
                         </td>
                         <td width="180">
                             <asp:Label ID="lblProvince" runat="server" CssClass="label" Text="省份" 
                                 meta:resourcekey="lblProvince"></asp:Label></td>
                         <td width="180">
                             <asp:Label ID="lblContact1" runat="server" CssClass="label" Text="联系人1" 
                                 meta:resourcekey="lblContact1"></asp:Label>
                         </td>
                         <td width="180">
                             <asp:Label ID="lblContact2" runat="server" CssClass="label" Text="联系人2" 
                                 meta:resourcekey="lblContact2"></asp:Label>
                         </td>
                     </tr>
                     <tr>
                         <td>
                             <asp:TextBox ID="txtCity" runat="server" CssClass="textbox" 
                                 meta:resourcekey="txtCity"></asp:TextBox>
                         </td>
                         <td>
                             <asp:TextBox ID="txtProvince" runat="server" CssClass="textbox" 
                                 meta:resourcekey="txtProvince"></asp:TextBox>
                         </td>
                         <td>
                             <asp:TextBox ID="txtContact1" runat="server" CssClass="textbox" 
                                 meta:resourcekey="txtContact1"></asp:TextBox>
                         </td>
                          <td>
                             <asp:TextBox ID="txtConatact2" runat="server" CssClass="textbox" 
                                  meta:resourcekey="txtConatact2"></asp:TextBox>
                         </td>
                     </tr>
                     <tr>
                         <td width="180">
                             <asp:Label ID="lblZip" runat="server" CssClass="label" Text="邮编" 
                                 meta:resourcekey="lblZip"></asp:Label>
                         </td>
                         <td width="180">
                             <asp:Label ID="lblCountry" runat="server" CssClass="label" Text="国家" 
                                 meta:resourcekey="lblCountry"></asp:Label></td>
                         <td width="180">
                             <asp:Label ID="lblPhone1" runat="server" CssClass="label" Text="电话" 
                                 meta:resourcekey="lblPhone1"></asp:Label>
                         </td>
                         <td width="180">
                             <asp:Label ID="lblPhone2" runat="server" CssClass="label" Text="电话" 
                                 meta:resourcekey="lblPhone2"></asp:Label>
                         </td>
                     </tr>
                     <tr>
                         <td>
                             <asp:TextBox ID="txtZIP" runat="server" CssClass="textbox" MaxLength="6" 
                                 onblur="Javascript:dataVer._IsPost(this,'lblMsg')" 
                                 meta:resourcekey="txtZIP"></asp:TextBox>
                         </td>
                         <td>
                             <asp:TextBox ID="txtCountry" runat="server" CssClass="textbox" MaxLength="30" 
                                 meta:resourcekey="txtCountry"></asp:TextBox>
                         </td>
                         <td>
                             <asp:TextBox ID="txtPhone1" runat="server" CssClass="textbox" MaxLength="30" 
                                 onblur="Javascript:dataVer._IsPhone(this,'lblMsg')" 
                                 meta:resourcekey="txtPhone1"></asp:TextBox>
                         </td>
                          <td>
                             <asp:TextBox ID="txtPhone2" runat="server" CssClass="textbox" MaxLength="30" 
                                  onblur="Javascript:dataVer._IsPhone(this,'lblMsg')" 
                                  meta:resourcekey="txtPhone2"></asp:TextBox>
                         </td>
                     </tr>
                     <tr>
                         <td width="180">
                             <asp:Label ID="lblAddress" runat="server" CssClass="label" Text="地址" 
                                 meta:resourcekey="lblAddress"></asp:Label>
                         </td>
                         <td width="180">
                             &nbsp;</td>
                         <td width="180">
                             <asp:Label ID="lblFax1" runat="server" CssClass="label" Text="传真" 
                                 meta:resourcekey="lblFax1" ></asp:Label></td>
                         <td width="180">
                             <asp:Label ID="lblFax2" runat="server" CssClass="label" Text="传真" 
                                 meta:resourcekey="lblFax2" ></asp:Label>
                         </td>
                     </tr>
                     <tr>
                         <td width="360px" colspan="2" rowspan="3">
                             <asp:TextBox ID="txtAddress" TextMode="MultiLine" runat="server" 
                                 CssClass="largetextarea" meta:resourcekey="txtAddress"  ></asp:TextBox>
                         </td>
                        <td>
                             <asp:TextBox ID="txtFax1" runat="server" CssClass="textbox" MaxLength="30"  
                                 onblur="Javascript:dataVer._IsFax(this,'lblMsg')" 
                                 meta:resourcekey="txtFax1"></asp:TextBox>
                         </td>
                          <td>
                             <asp:TextBox ID="txtFax2" runat="server" CssClass="textbox" MaxLength="30" 
                                  onblur="Javascript:dataVer._IsFax(this,'lblMsg')" 
                                  meta:resourcekey="txtFax2"></asp:TextBox>
                         </td>
                     </tr>
                     <tr style="height:10px;">
                         <td width="180"><asp:Label ID="lblEmail1" runat="server" CssClass="label" 
                                 Text="Email" meta:resourcekey="lblEmail1"  ></asp:Label></td>
                         <td width="180"><asp:Label ID="lblEmail2" runat="server" CssClass="label" 
                                 Text="Email" meta:resourcekey="lblEmail2" ></asp:Label></td>
                     </tr>
                     <tr>
                         <td>
                             <asp:TextBox ID="txtEmail1" runat="server" CssClass="textbox" MaxLength="30" 
                                 onblur="Javascript:dataVer._IsMail(this,'lblMsg')" 
                                 meta:resourcekey="txtEmail1"></asp:TextBox>
                         </td>
                         <td>
                             <asp:TextBox ID="txtEmail2" runat="server" CssClass="textbox" MaxLength="30" 
                                 onblur="Javascript:dataVer._IsMail(this,'lblMsg')" 
                                 meta:resourcekey="txtEmail2"></asp:TextBox>
                         </td>
                     </tr>
                     <tr>
                         <td>
                            &nbsp;
                         </td>
                         <td></td>
                         <td></td>
                         <td></td>
                     </tr>
                 </table>
             </div>
             
             <div id="con_one_3"  style="display:none;">
                 <table width="720px" style="display: block; margin-left: 10px; margin-top: 10px;">
                     <tr>
                         <td width="180">
                             <asp:CheckBox ID="chkSameAsAddress" runat="server" CssClass="checkbox" 
                                 Text="同地址" AutoPostBack="True" 
                                 oncheckedchanged="chkSameAsAddress_CheckedChanged" 
                                 meta:resourcekey="chkSameAsAddress"  />
                         </td>
                         <td width="180"></td>
                         <td width="180"></td>
                         <td width="180"></td>
                     </tr>
                     <tr>
                         <td>
                             &nbsp;</td>
                         <td></td>
                         <td></td>
                         <td></td>
                     </tr>
                     <tr>
                         <td width="180">
                             <asp:Label ID="lblBillCity" runat="server" CssClass="label" Text="城市" 
                                 meta:resourcekey="lblBillCity"></asp:Label>
                         </td>
                         <td width="180">
                             <asp:Label ID="lblBillProvince" runat="server" CssClass="label" Text="省份" 
                                 meta:resourcekey="lblBillProvince"></asp:Label></td>
                         <td width="180">
                             <asp:Label ID="lblBillContact1" runat="server" CssClass="label" Text="联系人1" 
                                 meta:resourcekey="lblBillContact1"></asp:Label>
                         </td>
                         <td width="180">
                             <asp:Label ID="lblBillContact2" runat="server" CssClass="label" Text="联系人2" 
                                 meta:resourcekey="lblBillContact2"></asp:Label>
                         </td>
                     </tr>
                     <tr>
                         <td>
                             <asp:TextBox ID="txtBillCity" runat="server" CssClass="textbox" 
                                 meta:resourcekey="txtBillCity"></asp:TextBox>
                         </td>
                         <td>
                             <asp:TextBox ID="txtBillProvince" runat="server" CssClass="textbox" 
                                 meta:resourcekey="txtBillProvince"></asp:TextBox>
                         </td>
                         <td>
                             <asp:TextBox ID="txtBillContact1" runat="server" CssClass="textbox" 
                                 meta:resourcekey="txtBillContact1"></asp:TextBox>
                         </td>
                          <td>
                             <asp:TextBox ID="txtBillConatact2" runat="server" CssClass="textbox" 
                                  meta:resourcekey="txtBillConatact2"></asp:TextBox>
                         </td>
                     </tr>
                     <tr>
                         <td width="180">
                             <asp:Label ID="lblBillZip" runat="server" CssClass="label" Text="邮编" 
                                 meta:resourcekey="lblBillZip"></asp:Label>
                         </td>
                         <td width="180">
                             <asp:Label ID="lblBillCountry" runat="server" CssClass="label" Text="国家" 
                                 meta:resourcekey="lblBillCountry"></asp:Label></td>
                         <td width="180">
                             <asp:Label ID="lblBillPhone1" runat="server" CssClass="label" Text="电话" 
                                 meta:resourcekey="lblBillPhone1"></asp:Label>
                         </td>
                         <td width="180">
                             <asp:Label ID="lblBillPhone2" runat="server" CssClass="label" Text="电话" 
                                 meta:resourcekey="lblBillPhone2"></asp:Label>
                         </td>
                     </tr>
                     <tr>
                         <td>
                             <asp:TextBox ID="txtBillZIP" runat="server" CssClass="textbox" MaxLength="6" 
                                 onblur="Javascript:dataVer._IsPost(this,'lblMsg');" 
                                 meta:resourcekey="txtBillZIP"></asp:TextBox>
                         </td>
                         <td>
                             <asp:TextBox ID="txtBillCountry" runat="server" CssClass="textbox" 
                                 MaxLength="30" meta:resourcekey="txtBillCountry"></asp:TextBox>
                         </td>
                         <td>
                             <asp:TextBox ID="txtBillPhone1" runat="server" CssClass="textbox" 
                                 MaxLength="30" onblur="Javascript:dataVer._IsPhone(this,'lblMsg');" 
                                 meta:resourcekey="txtBillPhone1"></asp:TextBox>
                         </td>
                          <td>
                             <asp:TextBox ID="txtBillPhone2" runat="server" CssClass="textbox" MaxLength="30" 
                                  onblur="Javascript:dataVer._IsPhone(this,'lblMsg');" 
                                  meta:resourcekey="txtBillPhone2"></asp:TextBox>
                         </td>
                     </tr>
                     <tr>
                         <td width="180">
                             <asp:Label ID="lblBillAddress" runat="server" CssClass="label" Text="地址" 
                                 meta:resourcekey="lblBillAddress"></asp:Label>
                         </td>
                         <td width="180">
                             &nbsp;</td>
                         <td width="180">
                             <asp:Label ID="lblBillFax1" runat="server" CssClass="label" Text="传真" 
                                 meta:resourcekey="lblBillFax1"></asp:Label></td>
                         <td width="180">
                             <asp:Label ID="lblBillFax2" runat="server" CssClass="label" Text="传真" 
                                 meta:resourcekey="lblBillFax2"></asp:Label>
                         </td>
                     </tr>
                     <tr>
                         <td width="360px" colspan="2" rowspan="3">
                             <asp:TextBox ID="txtBillAddress" TextMode="MultiLine" runat="server" 
                                 CssClass="largetextarea" meta:resourcekey="txtBillAddress"  ></asp:TextBox>
                         </td>
                        <td>
                             <asp:TextBox ID="txtBillFax1" runat="server" CssClass="textbox" MaxLength="30" 
                                 onblur="Javascript:dataVer._IsFax(this,'lblMsg');" 
                                 meta:resourcekey="txtBillFax1"></asp:TextBox>
                         </td>
                          <td>
                             <asp:TextBox ID="txtBillFax2" runat="server" CssClass="textbox" MaxLength="30" 
                                  onblur="Javascript:dataVer._IsFax(this,'lblMsg');" 
                                  meta:resourcekey="txtBillFax2"></asp:TextBox>
                         </td>
                     </tr>
                     <tr style="height:10px;">
                         <td width="180"><asp:Label ID="lblBillEmail1" runat="server" CssClass="label" 
                                 Text="Email" meta:resourcekey="lblBillEmail1"></asp:Label></td>
                         <td width="180"><asp:Label ID="lblBillEmail2" runat="server" CssClass="label" 
                                 Text="Email" meta:resourcekey="lblBillEmail2"></asp:Label></td>
                     </tr>
                     <tr>
                         <td>
                             <asp:TextBox ID="txtBillEmail1" runat="server" CssClass="textbox" 
                                 MaxLength="30" onblur="Javascript:dataVer._IsMail(this,'lblMsg');" 
                                 meta:resourcekey="txtBillEmail1"></asp:TextBox>
                         </td>
                         <td>
                             <asp:TextBox ID="txtBillEmail2" runat="server" CssClass="textbox" 
                                 MaxLength="30" onblur="Javascript:dataVer._IsMail(this,'lblMsg');" 
                                 meta:resourcekey="txtBillEmail2"></asp:TextBox>
                         </td>
                     </tr>
                     <tr>
                         <td>
                            &nbsp;
                         </td>
                         <td></td>
                         <td></td>
                         <td></td>
                     </tr>
                 </table>
             </div>
             
             <div id="con_one_4" style="display:none;">
                 <table width="720px" style="display: block; margin-left: 10px; margin-top: 10px;">
                     <tr>
                         <td width="180">
                             <asp:Label ID="lblUserDefine1" runat="server" CssClass="label" Text="自定义01" 
                                 meta:resourcekey="lblUserDefine1"></asp:Label>
                         </td>
                         <td width="180">
                             <asp:Label ID="lblUserDefine6" runat="server" CssClass="label" Text="自定义06" 
                                 meta:resourcekey="lblUserDefine6"></asp:Label></td>
                         <td width="180">
                             <asp:Label ID="lblRemark" runat="server" CssClass="label" Text="备注" 
                                 meta:resourcekey="lblRemark"></asp:Label>
                         </td>
                         <td width="180">
                             &nbsp;</td>
                     </tr>
                     <tr>
                         <td>
                             <asp:TextBox ID="txtUserDefine1" runat="server" CssClass="textbox" 
                                 MaxLength="50" meta:resourcekey="txtUserDefine1"></asp:TextBox>
                         </td>
                         <td>
                             <asp:TextBox ID="txtUserDefine6" runat="server" CssClass="textbox" 
                                 MaxLength="50" meta:resourcekey="txtUserDefine6"></asp:TextBox>
                         </td>
                         <td colspan="2" rowspan="3">
                            <asp:TextBox ID="txtRemark" runat="server" CssClass="largetextarea" 
                                 MaxLength="200" TextMode="MultiLine" meta:resourcekey="txtRemark"></asp:TextBox>
                        </td>
                     </tr>
                     <tr>
                         <td width="180">
                             <asp:Label ID="lblUserDefine2" runat="server" CssClass="label" Text="自定义02" 
                                 meta:resourcekey="lblUserDefine2"></asp:Label>
                         </td>
                         <td width="180">
                             <asp:Label ID="lblUserDefine7" runat="server" CssClass="label" Text="自定义07" 
                                 meta:resourcekey="lblUserDefine7"></asp:Label></td>
                        
                     </tr>
                     <tr>
                         <td>
                             <asp:TextBox ID="txtUserDefine2" runat="server" CssClass="textbox" 
                                 MaxLength="50" meta:resourcekey="txtUserDefine2"></asp:TextBox>
                         </td>
                         <td>
                             <asp:TextBox ID="txtUserDefine7" runat="server" CssClass="textbox" 
                                 MaxLength="50" meta:resourcekey="txtUserDefine7"></asp:TextBox>
                         </td>
                     </tr>
                     <tr>
                         <td width="180">
                             <asp:Label ID="lblUserDefine3" runat="server" CssClass="label" Text="自定义03" 
                                 meta:resourcekey="lblUserDefine3"></asp:Label>
                         </td>
                         <td width="180">
                             <asp:Label ID="lblUserDefine8" runat="server" CssClass="label" Text="自定义08" 
                                 meta:resourcekey="lblUserDefine8"></asp:Label></td>
                         <td width="180">
                             &nbsp;</td>
                         <td width="180">
                             &nbsp;</td>
                     </tr>
                     <tr>
                         <td>
                             <asp:TextBox ID="txtUserDefine3" runat="server" CssClass="textbox" 
                                 MaxLength="50" meta:resourcekey="txtUserDefine3"></asp:TextBox>
                         </td>
                         <td>
                             <asp:TextBox ID="txtUserDefine8" runat="server" CssClass="textbox" 
                                 MaxLength="50" meta:resourcekey="txtUserDefine8"></asp:TextBox>
                         </td>
                         <td>
                             &nbsp;</td>
                          <td>
                              &nbsp;</td>
                     </tr>
                     <tr style="height:10px;">
                         <td width="180"><asp:Label ID="lblUserDefine4" runat="server" CssClass="label" 
                                 Text="自定义04" meta:resourcekey="lblUserDefine4"></asp:Label></td>
                         <td width="180"><asp:Label ID="lblUserDefine9" runat="server" CssClass="label" 
                                 Text="自定义09" meta:resourcekey="lblUserDefine9"></asp:Label></td>
                         <td width="180"></td>
                         <td width="180"></td>
                     </tr>
                     <tr>
                         <td>
                             <asp:TextBox ID="txtUserDefine4" runat="server" CssClass="textbox" 
                                 MaxLength="50" meta:resourcekey="txtUserDefine4"></asp:TextBox>
                         </td>
                         <td>
                             <asp:TextBox ID="txtUserDefine9" runat="server" CssClass="textbox" 
                                 MaxLength="50" meta:resourcekey="txtUserDefine9"></asp:TextBox>
                         </td>
                         <td></td>
                         <td></td>
                     </tr>
                     <tr style="height:10px;">
                         <td width="180"><asp:Label ID="lblUserDefine5" runat="server" CssClass="label" 
                                 Text="自定义05" meta:resourcekey="lblUserDefine5"></asp:Label></td>
                         <td width="180"><asp:Label ID="lblUserDefine10" runat="server" CssClass="label" 
                                 Text="自定义10" meta:resourcekey="lblUserDefine10"></asp:Label></td>
                         <td width="180"></td>
                         <td width="180"></td>
                     </tr>
                     <tr>
                         <td>
                             <asp:TextBox ID="txtUserDefine5" runat="server" CssClass="textbox" 
                                 MaxLength="50" meta:resourcekey="txtUserDefine5"></asp:TextBox>
                         </td>
                         <td>
                             <asp:TextBox ID="txtUserDefine10" runat="server" CssClass="textbox" 
                                 MaxLength="50" meta:resourcekey="txtUserDefine10"></asp:TextBox>
                         </td>
                         <td></td>
                         <td></td>
                     </tr>
                    
                     <tr>
                         <td>
                            &nbsp;
                         </td>
                         <td></td>
                         <td></td>
                         <td></td>
                     </tr>
                 </table>
             </div>
             
             <div id="con_one_5" style="display: none;">
                <table width="700" style="display: block; margin-left: 10px; margin-top: 10px;" border="0">
                    <tr>
                       <td>
                          <table>
                                <tr>
                                    <td>
                                        <asp:Button ID="btnSaveAuthorizedUser" runat="server" CssClass="button" Text="<%$Resources:ButtonResource,btnSave%>" 
                                                OnClientClick="blockScreen();" OnClick="btnSaveAuthorizedUser_Click" 
                                                meta:resourcekey="btnSaveAuthorizedUser" />
                                    </td>
                                </tr>
                           </table>
                        </td>
                    </tr>
                    <tr style="height: 10px;"></tr>
                    <tr>
                        <td width="300">
                            <asp:Label ID="lblUnauthorizedUser" runat="server" CssClass="label" Text="未授权用户"  meta:resourcekey="lblUnauthorizedUser"></asp:Label>
                        </td>
                        <td width="100">
                        </td>
                        <td width="300">
                            <asp:Label ID="lblAuthorizedUser" runat="server" CssClass="label" Text="已授权用户"  meta:resourcekey="lblAuthorizedUser"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td width="300">
                            <asp:ListBox ID="lbxUnauthorizedUser" SelectionMode="Multiple" runat="server" onDblClick="UnauthorizedUser(this)"
                                Height="300px" Width="100%" AutoPostBack="True" OnSelectedIndexChanged="lbxUnauthorizedUser_SelectedIndexChanged">
                            </asp:ListBox>
                        </td>
                        <td width="100" align="center">
                            <asp:ImageButton ID="imgUnauthorizedUser" runat="server" ImageUrl="~/style/zh/1/images/arrow_r.gif"
                                OnClick="imgUnauthorizedUser_Click" />
                            <br />
                            <br />
                            <br />
                            <asp:ImageButton ID="imgAuthorizedUser" runat="server" ImageUrl="~/style/zh/1/images/arrow_l.gif"
                                OnClick="imgAuthorizedUser_Click" />
                        </td>
                        <td width="300">
                            <asp:ListBox ID="lbxAuthorizedUser" SelectionMode="Multiple" runat="server" Height="300px" onDblClick="AuthorizedUser(this)"
                                Width="100%" AutoPostBack="True" OnSelectedIndexChanged="lbxAuthorizedUser_SelectedIndexChanged">
                            </asp:ListBox>
                        </td>
                    </tr>
                    <tr>
                        <td width="300">
                        </td>
                        <td width="100">
                        </td>
                        <td width="300">
                            <input id="hdnAuthorizedUser" runat="server" type="hidden"> </input>
                            <input id="hdnUnauthorizedUser" runat="server" type="hidden"></input>
                        </td>
                    </tr>
                    <tr>
                        <td width="300">
                            &nbsp;
                        </td>
                        <td width="100">
                            &nbsp;
                        </td>
                        <td width="300">
                            &nbsp;
                        </td>
                    </tr>
                </table>
            </div>
         </div>
            
            </ContentTemplate>
            <Triggers>
            <asp:AsyncPostBackTrigger ControlID="btnNew" EventName="Click" />
            <asp:AsyncPostBackTrigger ControlID="btnSave" EventName="Click" />
            <asp:AsyncPostBackTrigger ControlID="btnCopy" EventName="Click" />
        </Triggers>
        </asp:UpdatePanel>
    </div>
    <input type="hidden" id="hdnFrom" runat="server" />
        
    </form>
</body>
</html>
